package cn.edu.scau.cmi.lixiaoyuan.composite.safe;

public class SafePerson extends SafeOrganization{
	private String name;

	public int kongge;
	
	  public SafePerson(String name) {
			super();
			this.name = name;
		}

	public int getKongge() {
		return kongge;
	}

	public void setKongge(int kongge) {
		this.kongge = kongge;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public void doSomething() {
		// TODO Auto-generated method stub
		for(int i=0;i<this.getKongge();i++)
			System.out.print("    ");
		
		System.out.println(name);
		
	}
}
